export const formComponentConfig = {
  dictSelect: () => import('@/common/components/dict-select/index.vue'),
};

export const formRenderConfig = {
  name1: {
    label: '单据类型',
    field: 'name1',
    componentName: 'select',
    componentProps: {
      options: [
        { label: '男', value: 1 },
        { label: '女', value: 2 },
      ],
    },
  },
  name2: {
    label: '发票号',
    field: 'name2',
    componentName: 'input',
    componentProps: {},
  },
  name3: {
    label: '供应商编码',
    field: 'name3',
    componentName: 'typeModule',
    componentProps: {},
  },
  name4: {
    label: '供应商名称',
    field: 'name4',
    componentName: 'input',
    componentProps: {},
  },
  name5: {
    label: '数据来源',
    field: 'name5',
    componentName: 'select',
    componentProps: {
      options: [
        { label: '男', value: 1 },
        { label: '女', value: 2 },
      ],
    },
  },
  name6: {
    label: '执行状态',
    field: 'name6',
    componentName: 'select',
    componentProps: {
      options: [
        { label: '男', value: 1 },
        { label: '女', value: 2 },
      ],
    },
  },
  name7: {
    label: '发票类型',
    field: 'name7',
    componentName: 'select',
    componentProps: {
      options: [
        { label: '男', value: 1 },
        { label: '女', value: 2 },
      ],
    },
  },
  name8: {
    label: '订单号',
    field: 'name8',
    componentName: 'input',
    componentProps: {},
  },
  name9: {
    label: '凭证号',
    field: 'name9',
    componentName: 'input',
    componentProps: {},
  },
  name10: {
    label: '蓝票/红票',
    field: 'name10',
    componentName: 'select',
    componentProps: {
      options: [
        { label: '男', value: 1 },
        { label: '女', value: 2 },
      ],
    },
  },
  name11: {
    label: '挂账人',
    field: 'name11',
    componentName: 'input',
    componentProps: {},
  },
  name12: {
    label: '挂账时间',
    field: 'name12',
    componentName: 'timePicker',
    componentProps: {
      format: 'YYYY-MM-DD',
    },
  },
};
